package com.xuhai.movie.mapper;

import com.xuhai.movie.bean.MovieImage;

import java.util.List;

public interface MovieImageMapper {
    int deleteByPrimaryKey(Integer imageId);

    int insert(MovieImage record);

    int insertSelective(MovieImage record);

    MovieImage selectByPrimaryKey(Integer imageId);

    int updateByPrimaryKeySelective(MovieImage record);

    int updateByPrimaryKey(MovieImage record);

    List<MovieImage> getImageListByMovieId(Integer movieId);

    int batchInsert(List<MovieImage> movieImageList);

    int deleteByMovieId(Integer movieId);
}
